package com.mt.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mt.VO.ShowCinemaScheduleVO;
import com.mt.pojo.Cinema;
import com.mt.pojo.Film;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author Wang
 * @since 2020-12-11
 */
public interface CinemaService extends IService<Cinema> {
    boolean addCinema(Cinema cinema);

    boolean modifyCinema(Cinema cinema);

    boolean removeCinema(Cinema cinema);

    List<Cinema> listAllCinema();

    IPage<Cinema> pageCinema(int currentPage, int pageSize, String cinemaName);

    List<ShowCinemaScheduleVO> listCinemaScheduleByFilm(int filmId, String queryTime);

    List<Cinema> listCinemaByArea(String area);

    List<Cinema> searchCinema(String key,String area);

    List<Film> getScheduleFilmListByCinemaId(int cinemaId);


}
